package com.qfedu.wisdomapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;


/**
 * @Description:
 * @Author: 第六组
 * @Date: 2022/09/23 21:28:35
 */
@Data
@TableName("t_address")
public class Address {
    /**主键自增*/
    @TableId(type = IdType.AUTO)
    private Long id;
    /**用户ID*/
    private Long uid;
    /**收货人*/
    private String name;
    /**手机号*/
    private String phone;
    /**省*/
    private String province;
    /**市*/
    private String city;
    /**县*/
    private String country;
    /**详细地址*/
    private String address;
    /**1.默认地址 2.其他地址*/
    private Integer flag;
    /***/
    private Date ctime;
}